import request from '@/utils/request'

export function searchMovies(params) {
  return request.get('/user/movies/search', { params })
}

export function pageMovies(params) {
  return request.get('/user/movies/page', { params })
}

export function getMovie(id) {
  return request.get(`/user/movies/${id}`)
}